package com.xxgc.eow.client.response;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;

/**
 * @program: ExhibitionOfWorks
 * @description: 微信小程序登录响应
 * @author: Mr.Abel SJY
 * @Email thanksjava@qq.com
 * @create: 2023-05-08 12:35
 **/
@Component
@Data
@ToString
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Schema(name = "WechatLoginResponse", description = "小程序登录响应")
public class WechatLoginResponse {
    @Schema(description = "会话密钥")
    private String session_key;
    @Schema(description = "用户在开放平台的唯一标识符 详见 UnionID 机制说明")
    private String unionid;
    @Schema(description = "错误信息")
    private String errmsg;
    @Schema(description = "用户唯一标识")
    private String openid;
    @Schema(description = "错误码")
    private int errcode;
}
